﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 进出口信息数据传输对象 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfEntranceInfoDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfEntranceInfoDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
					SysVersion= 0; 
							TradeType= -1; 
							PackType= -1; 
							IsWhole=false; 
		
		
		
					IsDrawback=false; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        	        	        	        			if (this.CIQCdoe != null) 
			{
				this.CIQCdoe.DoSerializeKeyList(dict);
			}
	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfEntranceInfoDTOData(  System.Int64 iD  , System.DateTime createdOn  , System.String createdBy  , System.DateTime modifiedOn  , System.String modifiedBy  , System.Int64 sysVersion  , System.Int32 tradeType  , System.Int32 packType  , System.Boolean isWhole  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData cIQCdoe  , System.String decriptionByChinese  , System.String decriptionByEnglish  , System.Boolean isDrawback  )
		{
			initData();
			this.ID = iD;
			this.CreatedOn = createdOn;
			this.CreatedBy = createdBy;
			this.ModifiedOn = modifiedOn;
			this.ModifiedBy = modifiedBy;
			this.SysVersion = sysVersion;
			this.TradeType = tradeType;
			this.PackType = packType;
			this.IsWhole = isWhole;
			this.CIQCdoe = cIQCdoe;
			this.DecriptionByChinese = decriptionByChinese;
			this.DecriptionByEnglish = decriptionByEnglish;
			this.IsDrawback = isDrawback;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// ID
		/// 进出口信息数据传输对象 Copy.Key.ID
		/// </summary>
		private System.Int64 m_iD ;
		[DataMember(IsRequired=false)]
		public System.Int64 ID
		{
			get	
			{	
				return m_iD ;
			}
			set	
			{	
				m_iD = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建时间
		/// 进出口信息数据传输对象 Copy.Sys.创建时间
		/// </summary>
		private System.DateTime m_createdOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime CreatedOn
		{
			get	
			{	
				return m_createdOn ;
			}
			set	
			{	
				m_createdOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 创建人
		/// 进出口信息数据传输对象 Copy.Sys.创建人
		/// </summary>
		private System.String m_createdBy ;
		[DataMember(IsRequired=false)]
		public System.String CreatedBy
		{
			get	
			{	
				return m_createdBy ;
			}
			set	
			{	
				m_createdBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改时间
		/// 进出口信息数据传输对象 Copy.Sys.修改时间
		/// </summary>
		private System.DateTime m_modifiedOn ;
		[DataMember(IsRequired=false)]
		public System.DateTime ModifiedOn
		{
			get	
			{	
				return m_modifiedOn ;
			}
			set	
			{	
				m_modifiedOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 修改人
		/// 进出口信息数据传输对象 Copy.Sys.修改人
		/// </summary>
		private System.String m_modifiedBy ;
		[DataMember(IsRequired=false)]
		public System.String ModifiedBy
		{
			get	
			{	
				return m_modifiedBy ;
			}
			set	
			{	
				m_modifiedBy = value ;	
			}
		}
			
		

		/// <summary>
		/// 事务版本
		/// 进出口信息数据传输对象 Copy.Sys.事务版本
		/// </summary>
		private System.Int64 m_sysVersion ;
		[DataMember(IsRequired=false)]
		public System.Int64 SysVersion
		{
			get	
			{	
				return m_sysVersion ;
			}
			set	
			{	
				m_sysVersion = value ;	
			}
		}
			
		

		/// <summary>
		/// 贸易方式
		/// 进出口信息数据传输对象 Copy.Misc.贸易方式
		/// </summary>
		private System.Int32 m_tradeType ;
		[DataMember(IsRequired=false)]
		public System.Int32 TradeType
		{
			get	
			{	
				return m_tradeType ;
			}
			set	
			{	
				m_tradeType = value ;	
			}
		}
			
		

		/// <summary>
		/// 包装方式
		/// 进出口信息数据传输对象 Copy.Misc.包装方式
		/// </summary>
		private System.Int32 m_packType ;
		[DataMember(IsRequired=false)]
		public System.Int32 PackType
		{
			get	
			{	
				return m_packType ;
			}
			set	
			{	
				m_packType = value ;	
			}
		}
			
		

		/// <summary>
		/// 是否整箱
		/// 进出口信息数据传输对象 Copy.Misc.是否整箱
		/// </summary>
		private System.Boolean m_isWhole ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsWhole
		{
			get	
			{	
				return m_isWhole ;
			}
			set	
			{	
				m_isWhole = value ;	
			}
		}
			
		

		/// <summary>
		/// 海关编码
		/// 进出口信息数据传输对象 Copy.Misc.海关编码
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_cIQCdoe ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CIQCdoe
		{
			get	
			{	
				return m_cIQCdoe ;
			}
			set	
			{	
				m_cIQCdoe = value ;	
			}
		}
			
		

		/// <summary>
		/// 货描中文
		/// 进出口信息数据传输对象 Copy.Misc.货描中文
		/// </summary>
		private System.String m_decriptionByChinese ;
		[DataMember(IsRequired=false)]
		public System.String DecriptionByChinese
		{
			get	
			{	
				return m_decriptionByChinese ;
			}
			set	
			{	
				m_decriptionByChinese = value ;	
			}
		}
			
		

		/// <summary>
		/// 货描英文
		/// 进出口信息数据传输对象 Copy.Misc.货描英文
		/// </summary>
		private System.String m_decriptionByEnglish ;
		[DataMember(IsRequired=false)]
		public System.String DecriptionByEnglish
		{
			get	
			{	
				return m_decriptionByEnglish ;
			}
			set	
			{	
				m_decriptionByEnglish = value ;	
			}
		}
			
		

		/// <summary>
		/// 退税
		/// 进出口信息数据传输对象 Copy.Misc.退税
		/// </summary>
		private System.Boolean m_isDrawback ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsDrawback
		{
			get	
			{	
				return m_isDrawback ;
			}
			set	
			{	
				m_isDrawback = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																										
		#endregion 
	} 	
}
